Use the CxFmsHistoryGraphCtrl object to display and manipulate an ActiveX CygNet FMS History Graph Control in a CygNet Studio screen environment.
To see an example FMS History Graph control implemented in a pre-designed screen, open the FMS History Graph Ctrl.csf file in the CygNet\Clients\CStudio\Screens\Examples folder.
|
Sub btnApply_EventClick() Dim This : Set This = btnApply FmsHistoryGraph.SessionNodeTag = editSessionNode.Text FmsHistoryGraph.SessionBeginDate = editStartDate.Text FmsHistoryGraph.SessionEndDate = editEndDate.Text FmsHistoryGraph.PITDateTime = editPIT.Text FmsHistoryGraph.UsePIT = checkUsePIT.Check FmsHistoryGraph.Apply True End Sub
Sub btnCancel_EventClick() Dim This : Set This = btnCancel FmsHistoryGraph.Cancel End Sub
Sub checkUsePIT_EventChange() Dim This : Set This = checkUsePIT FmsHistoryGraph.UsePIT = this.Check editPIT.Enable this.Check End Sub
Sub TheView_EventInitialize() Dim This : Set This = TheView editSessionNode.Text = FmsHistoryGraph.SessionNodeTag editStartDate.Text = FmsHistoryGraph.SessionBeginDate editEndDate.Text = FmsHistoryGraph.SessionEndDate
checkUsePIT.Check = FmsHistoryGraph.UsePIT editPIT.Text = FmsHistoryGraph.PITDateTime editPIT.Enable = FmsHistoryGraph.UsePIT End Sub |